from pyecharts.charts import Bar
from pyecharts import options as opts
import  os

bar = Bar()
bar.add_xaxis(["bpi_2012", "bpi2013", "large_log", "small_log"])
bar.add_yaxis("autoencode", [93.3, 87, 91.97, 100])
bar.add_yaxis("cnn_3", [95.2, 83.03, 92.24, 100])
bar.add_yaxis("cnn_6", [96.5, 83.04, 92.74, 100])
bar.set_global_opts(title_opts=opts.TitleOpts(title="log_repair"),yaxis_opts=opts.AxisOpts(min_='50'))
bar.render()
os.system("render.html")